* {
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

.box {
  width: 1200px;
  height: 550px;
  display: flex;
  flex-direction: row;
}

.img-box {
  width: 100px;
  height: 550px;
  overflow: hidden;
  transition: 0.3s;
}
.img-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 100%;
     object-position: 50% 100%;
}
.img-box:nth-child(5) {
  width: 800px;
}
.img-box:hover {
  width: 800px;
}
.img-box:hover ~ .img-box:nth-child(5) {
  width: 100px;
}/*# sourceMappingURL=index.css.map */